﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000374 RID: 884
	public class TWhenClauseItemList : TParseTreeNodeList
	{
		// Token: 0x060024F2 RID: 9458 RVA: 0x00339553 File Offset: 0x00337753
		public virtual void addWhenClauseItem(TWhenClauseItem whenClauseItem)
		{
			base.addElement(whenClauseItem);
		}

		// Token: 0x060024F3 RID: 9459 RVA: 0x0033955C File Offset: 0x0033775C
		public virtual TWhenClauseItem getWhenClauseItem(int position)
		{
			if (position < base.size())
			{
				return (TWhenClauseItem)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x060024F4 RID: 9460 RVA: 0x00339575 File Offset: 0x00337775
		internal override void addParseTreeNode(object arg1)
		{
			this.addWhenClauseItem((TWhenClauseItem)arg1);
		}

		// Token: 0x060024F5 RID: 9461 RVA: 0x00339583 File Offset: 0x00337783
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060024F6 RID: 9462 RVA: 0x00339594 File Offset: 0x00337794
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getWhenClauseItem(i).acceptChildren(v);
			}
			v.postVisit(this);
		}
	}
}
